package businesslogic.informBl;

import java.util.ArrayList;

import vo.informVO.InformVO;
import vo.informVO.StudentInformVO;
import vo.informVO.TeacherInformVO;
import dataservice.ResultMessage;
import businesslogicservice.informblservice.InformBlService;

public class InformController implements InformBlService {

	private String id;
	private InformBlService informBl;
	
	public InformController(String id){
		this.id=id;
		informBl=new Inform(id);
	}
	
	@Override
	public ResultMessage sendStudentInform(InformVO informVO) {
		return informBl.sendStudentInform(informVO);
	}

	@Override
	public ArrayList<StudentInformVO> getStudentInform() {
		return informBl.getStudentInform();
	}

	@Override
	public ArrayList<TeacherInformVO> getTeacherInform() {
		return informBl.getTeacherInform();
	}

	@Override
	public ResultMessage deleteAllInform() {
		return informBl.deleteAllInform();
	}

	@Override
	public ResultMessage sendTeacherInform(InformVO informVO) {
		return informBl.sendTeacherInform(informVO);
	}

}
